import requests from './request'
// 获取所有的预告片
export const getVideos = (mId, id) => requests({ url: `/video/getVideoByMId/${mId}?id=${id}`, method: 'post' })

// 根据id获取预告片
export const getVideoByMId = (mId) => requests({ url: `/video/getVideoByMId/${mId}`, method: 'post' })

// 获取video详情
export const getVideoById = (vId) => requests({ url: '/video/watchVideo/' + vId, method: 'post' })
